/*
 ============================================================================
 Name		: CelestialSphereApplication.h
 Author	  : Den Grigorenko
 Copyright   : Copyright (c) 2008 Den123
 Description : Declares main application class.
 ============================================================================
 */

#ifndef __CELESTIALSPHEREAPPLICATION_H__
#define __CELESTIALSPHEREAPPLICATION_H__

// INCLUDES
#include <aknapp.h>
#include "CelestialSphere.hrh"

// UID for the application;
// this should correspond to the uid defined in the mmp file
const TUid KUidCelestialSphereApp =
{ _UID3 };

// CLASS DECLARATION

/**
 * CCelestialSphereApplication application class.
 * Provides factory to create concrete document object.
 * An instance of CCelestialSphereApplication is the application part of the
 * AVKON application framework for the CelestialSphere example application.
 */
class CCelestialSphereApplication : public CAknApplication
{
public:
	// Functions from base classes

	/**
	 * From CApaApplication, AppDllUid.
	 * @return Application's UID (KUidCelestialSphereApp).
	 */
	TUid AppDllUid() const;

protected:
	// Functions from base classes

	/**
	 * From CApaApplication, CreateDocumentL.
	 * Creates CCelestialSphereDocument document object. The returned
	 * pointer in not owned by the CCelestialSphereApplication object.
	 * @return A pointer to the created document object.
	 */
	CApaDocument* CreateDocumentL();
};

#endif // __CELESTIALSPHEREAPPLICATION_H__
// End of File
